package com.zprmb.udzt;

import android.os.Bundle;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentTransaction;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.ImageView;
import android.widget.RelativeLayout;
import android.widget.TextView;

import com.zprmb.udzt.fragment.DexterityBillFragment;

public class DexterityBillOut extends BaseActivity {
	private FragmentManager fm;
	private ImageView img_back;
	private TextView tv_v4_dexteritybill_title;
	private RelativeLayout rl_back;
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onCreate(savedInstanceState);
		setContentView(R.layout.dexteritybill);
		img_back=(ImageView)findViewById(R.id.img_back);
		tv_v4_dexteritybill_title=(TextView)findViewById(R.id.tv_v4_dexteritybill_title);
				tv_v4_dexteritybill_title.setText("转出明细");
				rl_back=(RelativeLayout)findViewById(R.id.rl_back);
		fm=getSupportFragmentManager();
		 FragmentTransaction transaction=fm.beginTransaction();
		 transaction.add(R.id.li_bill,DexterityBillFragment.newInstance(0, "OUT"));
		 transaction.commit();
		 rl_back.setOnClickListener(new OnClickListener() {
				
				@Override
				public void onClick(View v) {
					// TODO Auto-generated method stub
					DexterityBillOut.this.finish();
				}
			});
		 img_back.setOnClickListener(new OnClickListener() {
				
				@Override
				public void onClick(View v) {
					// TODO Auto-generated method stub
					DexterityBillOut.this.finish();
				}
			});
	}

}
